package org.example.controller;

import org.example.service.AwareService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

@RestController
public class AwareController {

    @Autowired
    private AwareService awareService;

    @GetMapping("aware")
    public String aware() throws IOException {
        awareService.outputResult();
        return "success" ;
    }
}
